

public class LightSensor extends InputDevice{

	/****************************************
	 * Constructor
	 ****************************************/
	public LightSensor(int address, iCATch316 iCatch) {
		super(address, iCatch);
	}

	/****************************************
	 * Return the current reading
	 ****************************************/
	@Override
	public int getReading() {
		return Integer.parseInt(iCatch.getLightSensorReading(address));
	}
}
